package com.flyee.utils
{
	import flash.net.LocalConnection;
	
	public class GCManager
	{
		
		public function GCManager()
		{
			
		}
		/**
		 *强制垃圾回收 
		 * @return 
		 * 
		 */		
		public static function beginGC():void
		{
			try
			{
        		var tempGC:LocalConnection = new LocalConnection();
        		tempGC.connect("MoonSpirit");
        		var tempGC2:LocalConnection = new LocalConnection();
        		tempGC2.connect("MoonSpirit");
        		tempGC2.close();
			}
			catch(error : Error)
			{

			}
		}
	}
}